package auto.app.service;

import auto.app.controller.from.BeforeAssertion.BeforeAssertionChickFrom;
import auto.app.controller.from.BeforeAssertion.BeforeAssertionFrom;
import auto.app.controller.from.BeforeAssertion.BeforeAssertionUpdateFrom;
import auto.app.controller.info.BeforeAssertion.BeforeAssertionChickInfo;
import auto.app.exetion.MainExection;
import auto.app.model.BeforeAssertion;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杨森
 * @since 2022-08-31
 */
public interface BeforeAssertionService extends IService<BeforeAssertion> {

    public Boolean beforeAssertionAdd(BeforeAssertionFrom beforeAssertionFrom) throws MainExection;

    public Boolean beforeAssertionUpdate(BeforeAssertionUpdateFrom beforeAssertionUpdateFrom) throws MainExection;

    public BeforeAssertion beforeAssertionDetail(Integer automaticId) throws MainExection;

    public List<BeforeAssertion> beforeAssertionList(Integer caseId) throws MainExection;

    public Boolean beforeAssertionDelete(Integer automaticId) throws MainExection;

    //断言
    public List<BeforeAssertionChickInfo> beforeAssertionChick(BeforeAssertionChickFrom beforeAssertionChickFrom) throws MainExection;

}
